<template>
  <div>
    <div>
      <!-- 二级路由出口 -->
      <router-view></router-view>
    </div>
    <van-tabbar route active-color='#21b97a'>
      <van-tabbar-item replace to="/home" icon="wap-home-o" color="#087">首页</van-tabbar-item>
      <van-tabbar-item replace to="/search" icon="search">找房</van-tabbar-item>
      <van-tabbar-item replace to="/friends" icon="newspaper-o">讯息</van-tabbar-item>
      <van-tabbar-item replace to="/setting" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
</script>

<style>
.active-color{
    color: #087;
}
</style>